﻿@using BrnMall.Manager.Manager.Store
@{
    Layout = null;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>店铺后台菜单栏</title>
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <style type="text/css">
    *{margin:0;padding:0}
    html{overflow:hidden;overflow-y:scroll}
    * html body{overflow:visible}
    body{font:12px/22px 'Microsoft Yahei',Verdana,Arial,sans-serif,"Times New Roman";word-wrap:break-word}
    body,div,h2,img,li,ul{margin:0;padding:0}
    body div{text-align:left}
    li{list-style-type:none}
    img{border:0 none}
    a:hover{color:#9f0017}
    a:link,a:visited{text-decoration:none;color:#000}
    a{outline:0;color:#000}
    h2{font-size:20px}
    .clear{clear:both}
    .left{float:left}
    .right{float:right}
    #menu{background:url(/admin_store/images/menubg.jpg) repeat-y right;width:150px;overflow:hidden}
    #menu img{margin-left:14px}
    #menu ul li{padding-top:5px;height:30px;overflow:hidden}
    #menu ul li.hot{height:auto}
    #menu ul li h2{background:url(/admin_store/images/menuli_bg.jpg);height:29px;color:#404040;line-height:23px;font-size:14px;font-weight:400;padding-left:30px;cursor:pointer}
    #menu ul li a{display:inline;background:url(/admin_store/images/li.jpg) no-repeat 35px center;height:25px;line-height:25px;padding-left:48px;float:left}
    #menu ul li a.hot,#menu ul li a:hover{background:url(/admin_store/images/li1.jpg) no-repeat 35px center;color:#e17a00}
    #menu ul img {cursor:pointer;}
    #menu ul .a8{position:absolute;right:35px;background:none;padding-left:0px;}    
    .div9{ position:relative;display:flex;flex-direction:row}
    </style>
</head>
<body style="background: #e6e7e9;">
    <div id="menu">
        <img src="/admin_store/images/menubg_top.jpg" width="142px" height="49" />
        <ul id="menuUl">

            <li class="hot">
                <h2>商品管理</h2>
                <div class="div9">
                <a href="/storeadmin/product/AddProduct_New" target="frameRight">添加商品</a>
                <!-- <a href="/storeadmin/product/addproduct" target="frameRight">添加商品</a>-->
                <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=1" target="frameRight" class="a8">
                <img src="/admin_store/images/question.png" data-id="1" style="float:left;margin-left:5px;margin-top:5px;" />
                </a></div>    
                <div class="div9" style="display:none;">
                <a href="/storeadmin/product/addsku" target="frameRight">添加SKU</a>
                <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=2" target="frameRight"class="a8">
                <img src="/admin_store/images/question.png" data-id="2" style="float:left;margin-left:5px;margin-top:5px;" />
                </a></div>
                <div class="div9">
                    <a href="/storeadmin/product/onsaleproductlist" target="frameRight">在售商品</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=3" target="frameRight"class="a8">
                    <img src="/admin_store/images/question.png" data-id="3" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9">
                    <a href="/storeadmin/product/outsaleproductlist" target="frameRight">下架商品</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=4" target="frameRight"class="a8">
                        <img src="/admin_store/images/question.png" data-id="4" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                    <div class="div9">
                        <a href="/storeadmin/product/timeproductlist" target="frameRight">定时商品</a>
                        <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=5" target="frameRight"class="a8">
                            <img src="/admin_store/images/question.png" data-id="5" style="float:left;margin-left:5px;margin-top:5px;" />
                        </a></div>
                         <a href="/storeadmin/product/recyclebinproductlist" target="frameRight">回收站</a>
                   </li>

            <li>
                <h2>促销活动</h2>
                <div class="div9">
                    <a href="/storeadmin/promotion/singlepromotionlist" target="frameRight">单品促销</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=6" target="frameRight"class="a8">
                        <img src="/admin_store/images/question.png" data-id="6" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a>
                </div>
                <div class="div9">
                    <a href="/storeadmin/promotion/buysendpromotionlist" target="frameRight">买送促销</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=7" target="frameRight"class="a8">
                        <img src="/admin_store/images/question.png" data-id="7" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a>
                </div>
               <div class="div9">
                <a href="/storeadmin/promotion/giftpromotionlist" target="frameRight">赠品促销</a>
                   <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=8" target="frameRight"class="a8">
                       <img src="/admin_store/images/question.png"data-id="8" style="float:left;margin-left:5px;margin-top:5px;" />
                   </a></div>
                <div class="div9">
                    <a href="/storeadmin/promotion/suitpromotionlist" target="frameRight">套装促销</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=9" target="frameRight"class="a8">
                        <img src="/admin_store/images/question.png" data-id="9" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9"><a href="/storeadmin/promotion/fullsendpromotionlist" target="frameRight">满赠促销</a></div>
                <div class="div9">
                    <a href="/storeadmin/promotion/fullcutpromotionlist" target="frameRight">满减促销</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=10" target="frameRight"class="a8">
                        <img src="/admin_store/images/question.png"data-id="10" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
               <div class="div9">
                   <a href="/storeadmin/coupon/coupontypelist" target="frameRight">优惠劵</a>
                   <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=11" target="frameRight"class="a8">
                       <img src="/admin_store/images/question.png" data-id="11" style="float:left;margin-left:5px;margin-top:5px;" />
                   </a></div>
                
                <a href="/storeadmin/promotion/GroupBuyList" target="frameRight">团购活动</a>
            </li>

            <li>
                <h2>订单管理</h2>
                <div class="div9">
                    <a href="/storeadmin/order/orderlist" target="frameRight">订单列表</a> 
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=12" target="frameRight"class="a8">
                        <img src="/admin_store/images/question.png"data-id="12" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <a href="/storeadmin/order/refundlist" target="frameRight">退款列表</a>
                <a href="/storeadmin/order/DirectPayOrderList" target="frameRight">当面付列表</a>
                <a href="/storeadmin/order/afterservicelist" target="frameRight">售后服务</a>
                <a href="/storeadmin/order/printsettinglist" target="frameRight">打印机设置</a>
                <a href="/storeadmin/order/autoprintlist" target="frameRight">自动打印</a>
            </li>
            <li style="position:relative">
                <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=13"target="frameRight" style="background:none;padding-left:0px;"><img src="/admin_store/images/question.png" class="hl" data-id="13" style="position:absolute;top:10px;left:75px;" /></a>
                <h2>内容管理</h2>
                <a href="/storeadmin/news/newslist" target="frameRight">内容列表</a>
                <a href="/storeadmin/news/newstypelist" target="frameRight">内容分类</a>
            </li>
            <li>
                <h2>预约评价</h2>
                <div class="div9">
                    <a href="/storeadmin/productreview/productreviewlist" target="frameRight">商品评价</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=14" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="14" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                
                @*<a href="/storeadmin/productconsult/productconsultlist" target="frameRight">商品咨询</a>*@
                <a href="/storeadmin/productappoint/productappointlist" target="frameRight">预约列表</a>
                
            </li>
            <li>
                <h2>会员中心</h2>
                <div class="div9">
                    <a href="/storeadmin/user/list" target="frameRight">会员列表</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=15" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="15" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9">
                    <a href="/storeadmin/userrank/list" target="frameRight">会员等级</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=16" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="16" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a>
                    
                    
                </div>
                
                @if (WorkContext.StoreId == 4)
                {
                    <a href="/storeadmin/BusinessCard/UserCardList" target="frameRight">会员名片</a>
                    <a href="/storeadmin/BusinessCard/CardVerifyList" target="frameRight">名片认证</a>
                }
                <a href="/storeadmin/admingroup/list" target="frameRight">管理员组</a>
                @*<a href="/storeadmin/productconsult/productconsultlist" target="frameRight">商品咨询</a>*@
            </li>
            @if (StoreInfoManager.CheckDistributor(WorkContext.StoreId))
            {
                <li>
                    <h2>分销系统</h2>
                    <div class="div9">
                        <a href="/storeadmin/distributor/BrokerageRequestApproveList" target="frameRight">申请提现</a>
                        <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=17" target="frameRight"class="a8">
                            <img src="/admin_store/images/question.png" class="hl" data-id="17" style="float:left;margin-left:5px;margin-top:5px;" />
                        </a></div>
                    <div class="div9"><a href="/storeadmin/distributor/BrokerageRequestList" target="frameRight">提现记录</a></div>
                    <div class="div9"><a href="/storeadmin/distributor/BrokerageList" target="frameRight">佣金明细</a></div>
                    <div class="div9">
                        <a href="/storeadmin/distributor/DistributorList" target="frameRight">分销商列表</a>
                        <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=18" target="frameRight"style="position:absolute;right:25px;background:none;padding-left:0px;">
                            <img src="/admin_store/images/question.png" class="hl" data-id="18" style="float:left;margin-left:5px;margin-top:5px;" />
                        </a></div>
                    <div class="div9">
                        <a href="/storeadmin/distributor/DisGradeList" target="frameRight">分销商等级</a>
                        <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=19" target="frameRight"style="position:absolute;right:25px;background:none;padding-left:0px;">
                            <img src="/admin_store/images/question.png" class="hl" data-id="19" style="float:left;margin-left:5px;margin-top:5px;" />
                        </a></div>
                    <div class="div9">
                        <a href="/storeadmin/distributor/OpenAgent" target="frameRight">代理商开通</a>
                        <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=20" target="frameRight"style="position:absolute;right:25px;background:none;padding-left:0px;">
                            <img src="/admin_store/images/question.png" class="hl" data-id="20" style="float:left;margin-left:5px;margin-top:5px;" />
                        </a></div>
                    <div class="div9">
                        <a href="/storeadmin/distributor/AgentList" target="frameRight">代理商列表</a>
                        <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=21" target="frameRight"style="position:absolute;right:25px;background:none;padding-left:0px;">
                            <img src="/admin_store/images/question.png" class="hl" data-id="21" style="float:left;margin-left:5px;margin-top:5px;" />
                        </a></div>
                    <div class="div9">
                        <a href="/storeadmin/distributor/AgentGradeList" target="frameRight">代理商等级</a>
                        <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=22" target="frameRight"style="position:absolute;right:25px;background:none;padding-left:0px;">
                            <img src="/admin_store/images/question.png" class="hl" data-id="22" style="float:left;margin-left:5px;margin-top:5px;" />
                        </a></div>
                </li>
            }

            <li>

                <h2>报表统计</h2>
                <a href="/storeadmin/stat/productstat" target="frameRight">商品统计</a>
                <a href="/storeadmin/stat/saleproductlist" target="frameRight">销售明细</a>
                <a href="/storeadmin/stat/orderstat" target="frameRight">订单统计</a>
            </li>
            <li style="position:relative">
                <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=23" target="frameRight" style="background:none;padding-left:0px;"><img src="/admin_store/images/question.png" class="hl" data-id="13" style="position:absolute;top:10px;left:75px;" /></a>
                <h2>首页定制</h2>
                 <div class="div9"><a href="/storeadmin/weapp/preview" target="frameRight">首页预览</a></div>
                <div class="div9">
                    <a href="/storeadmin/store/widgetconfiglist?code=index_banner" target="frameRight">顶部轮播</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=24" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="24" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9">
                    <a href="/storeadmin/store/widgetconfiglist?code=index_nav_icon" target="frameRight">分类导航</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=25" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="25" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9">
                    <a href="/storeadmin/store/widgetconfiglist?code=index_product" target="frameRight">商品列表</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=26" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="26" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9">
                    <a href="/storeadmin/store/IndexPictureWidgetConfigList" target="frameRight">图片组件</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=27" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="27" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <a href="/storeadmin/weapp/StoreAppList" target="frameRight">底部导航</a>
            </li>
            <li>
                <h2>店铺管理</h2>
                <div class="div9">
                    <a href="/storeadmin/store/editstore" target="frameRight">店铺信息</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=28" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="28" id="question9" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9">
                    <a href="/storeadmin/store/storeclasslist" target="frameRight">店铺分类</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=29" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="29" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9">
                    <a href="/storeadmin/store/storeshiptemplatelist" target="frameRight">配送模板</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=30" target="frameRight" class="a8">
                        <img src="/admin_store/images/question.png" class="hl" data-id="30" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <div class="div9">
                    <a href="/storeadmin/store/storewxapp" target="frameRight">小程序设置</a>
                    <a href="http://weadmin.711688.net.cn/admin_store/admin_address.html?index=31" target="frameRight" style="position:absolute;right:25px;background:none;padding-left:0px;">
                        <img src="/admin_store/images/question.png" class="hl" data-id="31" style="float:left;margin-left:5px;margin-top:5px;" />
                    </a></div>
                <a href="/storeadmin/set/credit" target="frameRight">积分设置</a>
                <a href="/storeadmin/cashitem/list" target="frameRight">充值活动</a>
                <a href="/storeadmin/cashorder/list" target="frameRight">充值记录</a>
                @*<a href="/storeadmin/cash/cashrecordlist" target="frameRight">会员收支</a>*@
                <a href="/storeadmin/cash/reportsearch" target="frameRight">财务查询</a>
                <a href="/storeadmin/store/branchlist?pagesize=100" target="frameRight">门店管理</a>
                <a href="/storeadmin/Restaurant/DiningTableList" target="frameRight">餐位设置</a>
                <a href="/storeadmin/Restaurant/LineItemList" target="frameRight">排队项设置</a>
            </li>
            <li>
                <h2>留言管理</h2>
                <div class="div9">
                    <a href="/storeadmin/Message/MessageRow" target="frameRight">留言列表</a>
                </div>
                <div class="div9">
                    <a href="/storeadmin/Message/CreateDesign" target="frameRight">创意定制</a>
                </div>
            </li>
        </ul>
        <img src="/admin_store/images/menubg_bottom.jpg" width="142px" height="47" />
    </div>
    <script type="text/javascript">
        $(function () {
            $("#menu h2").click(function () {
                if ($(this).parent("li").hasClass("hot")) {
                    $(this).removeClass("hot").parent("li").removeClass("hot");
                } else {
                    $("#menu h2").removeClass("hot");
                    $(this).addClass("hot").parent("li").addClass("hot");
                }
            })
            $("#menu ul li a").click(function () {
                $("#menu h2").removeClass("hot");
                $("#menu a").removeClass("hot");
                $(this).addClass("hot").parent("li").children("h2").addClass("hot")

            })
            /* $("#question").on("click", function (e) {
                $('#tutorial', parent.parent.document).fadeIn(200);
            })*/
            //$('.hl').on("click", function (e) {
            //        window.open("http://weadmin.711688.net.cn/admin_store/admin_address.html?index="+e.target.dataset.id, framename = "frameRight")
            //    }) 
            })
  </script>
</body>
</html>
